package com.ruoyi.system.service;

import com.ruoyi.system.domain.db.cooperation.ExternalCooperation;
import com.ruoyi.system.domain.db.trade.TradeCargoOrder;
import com.ruoyi.system.domain.vo.ExternalCooperationVo;
import com.ruoyi.system.domain.vo.TradeCargoOrderVo;

import java.util.List;

public interface IExternalCooperationService {
    /**
     * 查询订单
     */
    public ExternalCooperationVo selectExternalCooperationOrderByOrderId(Long orderId);

    /**
     * 查询订单列表
     */
    public List<ExternalCooperationVo> selectExternalCooperationOrderList(ExternalCooperation externalCooperation);

    /**
     * 新增订单
     */
    public int insertExternalCooperationOrder(ExternalCooperation externalCooperation);

    /**
     * 修改订单
     */
    public int updateExternalCooperationOrder(ExternalCooperation externalCooperation);

    /**
     * 批量删除订单
     */
    public int deleteExternalCooperationOrderByOrderIds(List<Long> orderIds);

    /**
     * 删除订单
     */
    public int deleteExternalCooperationOrderByOrderId(Long orderId);
}
